# $Id: PKGBUILD 56426 2011-10-07 09:55:37Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: François Charette <firmicus ατ gmx δοτ net>

pkgname=perl-html-scrubber
pkgver=0.09
pkgrel=1
pkgdesc="Perl extension for scrubbing/sanitizing html"
arch=('any')
url="http://search.cpan.org/dist/HTML-Scrubber"
license=('GPL' 'PerlArtistic')
depends=('perl>=5.10.0' 'perl-html-parser>=3')
options=('!emptydirs')
source=(http://search.cpan.org/CPAN/authors/id/N/NI/NIGELM/HTML-Scrubber-$pkgver.tar.gz)
md5sums=('a0f7bd0a29a4c7b1bec5495ad9bfb00e')

build() {
  cd  $srcdir/HTML-Scrubber-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
